//
//  TwoViewController.m
//  ZSComponent
//
//  Created by HuangZuShu on 17/9/8.
//  Copyright © 2017年 Mac. All rights reserved.
//

#import "TwoViewController.h"
#import "UIViewController+ZSPageViewController.h"

@interface TwoViewController ()

@end

@implementation TwoViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    if ([[[UIDevice currentDevice]systemVersion] floatValue] >= 7.0)
    {
        self.edgesForExtendedLayout = UIRectEdgeNone;               //视图控制器，四条边不指定
        self.extendedLayoutIncludesOpaqueBars = NO;                 //不透明的操作栏<br>    self.modalPresentationCapturesStatusBarAppearance = NO;
    }
    // Do any additional setup after loading the view.
    UIColor * NormalColor = [UIColor grayColor];
    UIFont * normalFont = [UIFont systemFontOfSize:13];
    UIColor * selectedColor = [UIColor redColor];
    UIFont * selectedFont = [UIFont systemFontOfSize:16];
    NSArray * titles = @[@"One", @"Two", @"thr", @"For", @"12345", @"34567", @"1234"];
    CGSize  size = CGSizeMake([UIScreen mainScreen].bounds.size.width / 3.0, 50);
    [self initializePageViewControllerWithNormalColor:NormalColor normalFont:normalFont selectedColor:selectedColor selectedFont:selectedFont itemTitles:titles cellSize:size];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
    [super scrollViewDidScroll:scrollView];
}


@end
